﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;

namespace BoggleGUI
{
    class Brushes
    {
        public SolidColorBrush MaroonBrush;
        public SolidColorBrush BlackBrush;
        public SolidColorBrush GrayBrush;
        public SolidColorBrush GreenBrush;

        public Brushes()
        {
            MaroonBrush = new SolidColorBrush(Colors.Maroon);
            BlackBrush = new SolidColorBrush(Colors.Black);
            GrayBrush = new SolidColorBrush(Colors.Gray);
            GreenBrush = new SolidColorBrush(Color.FromRgb(0, 250, 0));

            if (MaroonBrush.CanFreeze) { MaroonBrush.Freeze(); }

            if (BlackBrush.CanFreeze) { BlackBrush.Freeze(); }

            if (GrayBrush.CanFreeze) { GrayBrush.Freeze(); }

            if (GreenBrush.CanFreeze) { GreenBrush.Freeze(); }
        }
    }
}
